package edu.zut.bailan.score.service.impl;

import edu.zut.bailan.base.service.impl.GenericManagerImpl;
import edu.zut.bailan.score.dao.ScoreDao;
import edu.zut.bailan.score.domain.Score;
import edu.zut.bailan.score.service.ScoreManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "scoreManager")
public class ScoreManagerImpl extends GenericManagerImpl<Score, Long> implements ScoreManager {

    ScoreDao scoreDao;

    @Autowired
    public void setProductDao(ScoreDao scoreDao) {
        this.scoreDao = scoreDao;
        this.dao = this.scoreDao;
    }

}
